package com.design.原型链模式;

public class ConcrecePrototype2 implements Prototype{

	public synchronized Object clone() {
		Prototype tp = null;
		try {
			tp =  (Prototype) super.clone();
		} catch (Exception e) {
			System.out.println("clone fail");
			return null;
		}finally {
			return tp;
		}
	}
	
}
